import http from '@/utils/http.js'

export const changeUserInfoAPI=(data)=>{
    return http({
        url:'/api/user',
        method:'PUT',
        data
    })
}

export const getUsersAPI=(data)=>{
    return http({
        url:'/api/user/getUser',
        method:'POST',
        data
    })
}

export const changeStatusAPI=(data)=>{
    return http({
        url:'/api/user/changeStatus',
        method:'POST',
        data
    })
}
